package sqlinjection;

/**
 *
 * @author Atuan
 */
public class Movie {
    private long id;
    private String title;
    private int releaseYear;
    private String genre;
    private String contributor;
    
    public Movie(){
    }
    
    public Movie(long id, String title, int releaseYear, String genre, String contributor){
        this.id = id;
        this.title = title;
        this.releaseYear = releaseYear;
        this.genre = genre;
        this.contributor = contributor;
    }

    public String getGenre() {
        return genre;
    }

    public void setGenre(String genre) {
        this.genre = genre;
    }

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public int getReleaseYear() {
        return releaseYear;
    }

    public void setReleaseYear(int releaseYear) {
        this.releaseYear = releaseYear;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getContributor() {
        return contributor;
    }

    public void setContributor(String contributor) {
        this.contributor = contributor;
    }

    @Override
    public String toString() {
        return "Movie{" + "id=" + id + ", title=" + title + ", releaseYear=" + releaseYear + ", genre=" + genre +'}';
    }
    
}
